<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:rg="http://www.ruijie.com.cn/faces/ui"
	xmlns:c="http://java.sun.com/jstl/core"
	template="/layout/dialogLayout.xhtml">  
	<ui:param name="param_pageTitle" value="#{messages.crud_btn_add}" />
    <ui:param name="param_panelWidth" value="640px"/>	
    <ui:param name="id" value="add" />
	<ui:define name="content">
		<h:form>
			<rg:titlePanel type="writable" needButton="true" headerTitle="员工信息">
				<rg:fieldSet column="double">
				<rg:outputText id="loginName" label="编号" value="#{partyAction.party.appUser.username}" tip="登录帐号" singleLine="true"/>
				<rg:outputText id="userName"   label="姓名" value="#{partyAction.party.userName}" />
				<rg:outputText id="alias"   label="别名" value="#{partyAction.party.alias}" />
				<rg:outputText id="gender"   label="姓别" value="#{partyAction.party.gender}" 
					converter="#{genderConverter}"/>
				<rg:outputText id="roles" label="用户角色" value="#{partyAction.party.appUser.roles}" 
					converter="#{roleConverter}" />
				<rg:outputText id="branchOffice" label="分公司" value="#{partyAction.party.branchOffice}" 
					converter="#{branchOfficeConverter}" />
				<rg:outputText id="partyGroup" label="员工分组" value="#{partyAction.party.partyGroup.partyGroupName}" 
					/>
				<rg:outputText id="address"  label="地址" value="#{partyAction.party.address}"   singleLine="true"/>
				<rg:outputText id="telephone" label="联系电话" value="#{partyAction.party.telephone}" />
				<rg:outputText id="mobile" label="移动电话" value="#{partyAction.party.mobile}" />
				<rg:outputText id="QQ"  label="QQ" value="#{partyAction.party.qq}" />
				<rg:outputText id="MSN"  label="MSN" value="#{partyAction.party.msn}" />
				<rg:outputText id="email"  label="E-MAIL" value="#{partyAction.party.email}" />
				</rg:fieldSet>
			
				<ui:define name="panelButton">
	                <input type="button" class="button" value="#{messages.btn_cancel}"
	                    onclick="javascript:DialogLayout.instance.close();" />
	            </ui:define>
			</rg:titlePanel>
		</h:form>
	</ui:define>
</ui:composition>